using System;
using HelloWorld.Helper;

namespace HelloWorld.Learn
{
    public class QueueDemo
    {
        public static void Demo()
        {
            var queue = new Queue();
            queue.Push(111);
            queue.Push(222);
            queue.Push(333);

            Console.WriteLine(queue.Pop());
            Console.WriteLine(queue.Pop());
            Console.WriteLine(queue.Pop());
        }
    }
}